package one.bugu.zookeeper.rpc.framework.zookeeper;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * Created with IntelliJ IDEA.
 * User: LangK
 * Created Date 2019/2/11
 * Time: 18:07
 * Description:
 */
@Configuration
@ConfigurationProperties(prefix = "zookeeper.config")
public class ZookeeperConfiguration {

    /**
     * host:port
     */
    private String url;

    /**
     * 路径
     */
    private String path;

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }
}
